// pages/mine/index.js
Page({
    data: {
        name: "",
        count: 3,
    },
    onLoad: function (options) {
        var that =this;
        let name = wx.getStorageSync("username");
        that.setData({
            name
        })
        
    },
    exitToLoginPage: function () {
        wx.clearStorage()
        wx.reLaunch({
            url: '/pages/login/login',
        })
    }
})